package cn.spike.user.mapper;

import cn.spike.user.domain.User;
import cn.spike.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Spike
 * @since 2023-02-07
 */
public interface UserMapper extends BaseMapper<User> {

    User loadByPhone(String phone);

    User loadByEmail(String email);

    List<Long> patchSelectLogininfoId(List<Long> ids);

    User loadByLogininfoId(Long id);
}
